package org.nuplay;

public class NuPlayWiiMoteButtons {
	public final static int A = 10;
	public final static int B = 11;
	public final static int Plus = 12;
	public final static int Minus = 13;
	public final static int Home = 14;
	public final static int Up = 15;
	public final static int Down = 16;
	public final static int Left = 17;
	public final static int Right = 18;
	public final static int One = 19;
	public final static int Two = 20;
	
	public boolean button_A, button_B, button_Plus, button_Minus, button_Home, button_Up, button_Down, button_Left, button_Right, button_One, button_Two;
	
	public void setButtons(NuPlayWiiMoteDevice device) {
		button_A = device.getButtonStatus(NuPlayWiiMoteButtons.A);
		button_B = device.getButtonStatus(NuPlayWiiMoteButtons.B);
		button_Plus = device.getButtonStatus(NuPlayWiiMoteButtons.Plus);
		button_Minus = device.getButtonStatus(NuPlayWiiMoteButtons.Minus);
		button_Home = device.getButtonStatus(NuPlayWiiMoteButtons.Home);
		button_Up = device.getButtonStatus(NuPlayWiiMoteButtons.Up);
		button_Down = device.getButtonStatus(NuPlayWiiMoteButtons.Down);
		button_Left = device.getButtonStatus(NuPlayWiiMoteButtons.Left);
		button_Right = device.getButtonStatus(NuPlayWiiMoteButtons.Right);
		button_One = device.getButtonStatus(NuPlayWiiMoteButtons.One);
		button_Two = device.getButtonStatus(NuPlayWiiMoteButtons.Two);
	}
}
